from django.urls import path
from apps.users.views import RegisterView, LoginView, \
    UserInfoView, UploadAvatarView, ModifyNameView, \
    UserAuthView



urlpatterns = [
    path('api/v1.0/users', RegisterView.as_view()),
    path('api/v1.0/session', LoginView.as_view()),
    path('api/v1.0/user', UserInfoView.as_view()),
    path('api/v1.0/user/avatar', UploadAvatarView.as_view()),
    path('api/v1.0/user/name', ModifyNameView.as_view()),
    path('api/v1.0/user/auth', UserAuthView.as_view()),
]